<template>
  <PlainCreateBtn :show-icon="false" style="width: 80px;" size="small" @click="switchProcess">{{ process===0?'下一步':'上一步' }}</PlainCreateBtn>
</template>

<script>
export default {
  props: {
    process: {
      type: Number,
      default: 0
    }
  },
  methods: {
    switchProcess() {
      const process = this.process === 0 ? 1 : 0;
      this.$emit('switchProcess', { id: process });
    }
  }
};
</script>

<style>

</style>
